<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class CommentsRequest extends BaseRequest
{
  

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'products_id'=>'required',
            'order_id'=>'required',
            'score'=>'numeric|min:1|max:5'
        ];
    }
}
